package com.cbgolf.oa.contract;

import com.cbgolf.oa.event.EventOrder;
import com.cbgolf.oa.views.IBaseFragView;
import com.cbgolf.oa.waiter.IBaseWaiter;

/**
 * @author lq
 * @date 2018/4/11
 */

public interface IOrderContract {

  interface IOrderWaiter extends IBaseWaiter {

  }

  interface IOrderView {

  }

  interface IOrderModel {

  }

  interface IOrderPresenter {

  }

  interface IOrderFragView extends IBaseFragView<EventOrder>{

  }

  interface IOrderFragModel {

    /**
     * request data
     * @param orderState
     * @param orderType
     * @param type
     */
    void getData(String orderState, String orderType, int type);
  }

  interface IOrderFragPresenter {

    /**
     * request data
     * @param orderState
     * @param orderType
     * @param type
     * @param isVisible 页面是否正在显示
     */
    void getData(String orderState, String orderType, int type,boolean isVisible);
  }

}
